<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Dilithium 创建集群</title>
    <script type="text/javascript">
     function vMiddle(){
        var middleDiv=document.getElementById("wrap");
        var divHeight=middleDiv.offsetHeight;
        var bodyHeight=document.body.offsetHeight ;
        if(bodyHeight>divHeight)
        	   middleDiv.style.marginTop=-divHeight/2+"px";
        else{
        	   middleDiv.style.marginTop=0;
            middleDiv.style.top=0;
           }
      }
    </script>
<link rel="stylesheet" type="text/css" href="common/my.css" />
<style type="text/css">
    html,body{height:100%;padding:0;margin:0;}
    #wrap{width:600px;margin:0 auto;border:0px solid black;position:absolute;top:37%;left:50%;margin-left:-300px;}
</style>
</head>
<body onload="vMiddle();">
	<font size=2>
	<div id=wrap>
	<br/>
	<span style="color:red" wicket:id ="feedback"></span>
	<br/>
    <form align="center" wicket:id="form">
   		<br/>
   		<div class="header">创建集群</div>
   		<br/>
   		<span wicket:id="border" >
    			<table width="600" border="1" bordercolor="black" >
    			   <tr><td class="default" colspan=2>基本信息</td></tr>
    			   <tr>
    				    <td class="label">集群名称：</td>
    				    <td><input class="editbox" type="text" wicket:id="clusterName" /><span style="color:red">*</span></td>
    			   </tr>	
    			   <tr>
    				    <td class="label">集群描述：</td><td><input class="editbox" type="text" wicket:id="clusterDesc" /></td>
    			   </tr>
    			   <tr><td class="default" colspan=2>控制台信息：</td></tr>
    			   <tr><td class="label">控制台ip：</td><td><input class="editbox" type="text" wicket:id="controllerIp" /><span style="color:red">*</span></td></tr>
                   <!--<tr><td class="label">root密码：</td><td><input class="editbox" type="password" wicket:id="rootPassword" /><span style="color:red">*</span></td></tr>-->
    			   <tr><td class="default" colspan=2>权限信息：</td></tr>
                   <tr><td class="label">集群密码(所有节点)：</td><td><input class="editbox" type="password" wicket:id="sysUserPassword" /><span style="color:red">*</span></td></tr>   
                   <tr><td class="label">数据库超级用户密码：</td><td><input class="editbox" type="text" wicket:id="DBSuperuserPassword" /></td></tr>   
                   <tr>
    			       <td class="default" colspan=2><span wicket:id ="radioChoice">
    			       </span>
    			       </td>
    			   </tr>
    			</table>	
    		</span>
    		<br/>
			<span wicket:id ="paramBorder">
				<span wicket:id ="paramGroup">
					<table width="600" class="label">
						<tr class="title">
							<td class="colStyle"> </td>
							<td class="colStyle">参数类型</td>
							<td class="colStyle">参数名称</td>
							<td>参数值</td>
						</tr>
						<tr class="default" wicket:id="tableRows">
							<td class="colStyle"><input type="checkbox" wicket:id="tableCheck"/></td>
							<td class="colStyle" wicket:id="paramType">paramType</td>
							<td class="colStyle" wicket:id="chnName">chnName</td>
							<td class="colStyle"><input class="editbox" type="text" wicket:id="paramValue" /></td>
						</tr>
					</table>
				</span>
			</span>
    		<br/>
		<input type="submit" wicket:id="submit" value="创建"/>
		<input type="submit" wicket:id="cancel" value="取消"/>
	</form>
	<br/>
	</div>
	</font>
	
</body>
</html>